package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.PaymentPlatforms;
import com.example.mall.dto.PaymentPlatformsDto;
import com.example.mall.query.PageDTO;
import com.example.mall.query.PaymentPlatformsQuery;

import java.util.List;


/**
 * <p>
 * 支付平台表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-09
 */
public interface IPaymentPlatformsService extends IService<PaymentPlatforms> {

    //分页查询支付平台表信息
    PageDTO<PaymentPlatformsDto> queryPage(PaymentPlatformsQuery paymentPlatformsQuery);

    //根据id查询支付平台表信息
    PaymentPlatforms queryPaymentPlatformsById(Long platformId);

    //查询全部支付平台表信息
    List<PaymentPlatforms> queryPaymentPlatformsList();

    //新增支付平台表
    void insert(PaymentPlatformsDto paymentPlatformsDto);

    //修改支付平台表信息
    void update(PaymentPlatformsDto paymentPlatformsDto);

    //删除支付平台表信息
    void delete(Long platformId);

    //批量删除支付平台表信息
    void deleteBatch(List<Long> platformIds);
}
